{include file='../application/admin/view/link.html'/}
<article class="cl pd-20">
    <form action="{:url('nodeEdit')}" method="post" class="form form-horizontal" id="edit">
        <input type="hidden" name='sign' value='edit'/>
        <input type="hidden" name='id' value="{$nodeInfo.id|default=''}"/>
            <div class="row ">
                    <label class="form-label col-xs-4 col-sm-5"><span class="c-red">*</span>节点名称：</label>
                    <div class="formControls col-xs-8 col-sm-3">
                            <input type="text" class="input-text" value="{$nodeInfo.name|default=''}" placeholder="节点名称" id="name" name="name">
                    </div>
            </div>
            <div class="row cl">
                    <label class="form-label col-xs-4 col-sm-5">父节点：</label>
                    <div class="formControls col-xs-8 col-sm-3"> <span class="select-box" style="width:150px;">
                            <select class="select" name="p_id" size="1" id="p_id">
                                    <option value="0">顶级节点</option>
                                    {volist name='list' id='vo'}
                                        <option value="{$vo.id}" {if condition="isset($nodeInfo.p_id) AND ($nodeInfo.p_id EQ $vo.id)"} selected="selected" {/if}>{$vo.name}</option>
                                    {/volist}
                            </select>
                            </span> </div>
            </div>
            <div class="row cl">
                    <label class="form-label col-xs-4 col-sm-5"><span class="c-red">*</span>控制器：</label>
                    <div class="formControls col-xs-8 col-sm-3">
                        <input type="text" class="input-text"  value="{$nodeInfo.controller|default=''}" placeholder="控制器" id="controller" name="controller">
                    </div>
            </div>
            <div class="row cl">
                    <label class="form-label col-xs-4 col-sm-5"><span class="c-red"></span>方法：</label>
                    <div class="formControls col-xs-8 col-sm-3">
                        <input type="text" class="input-text"   placeholder="方法" id="action" name="action" value="{$nodeInfo.action|default=''}">
                    </div>
            </div>
            <div class="row cl">
                    <label class="form-label col-xs-4 col-sm-5"><span class="c-red"></span>排序：</label>
                    <div class="formControls col-xs-8 col-sm-3">
                        <input type="text" class="input-text" value="{$nodeInfo.ord|default=''}"  placeholder="排序" id="ord" name="ord">
                    </div>
            </div>
            <div class="row cl">
                    <div class="col-xs-9 col-sm-6 col-xs-offset-3 col-sm-offset-5">
                            <input class="btn btn-primary radius checkAction" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
                    </div>
            </div>
    </form>
</article>
{include file='../application/admin/view/foot.html'/}
